package com.lnking.lnkingplace.model.request.statistic;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author 联坤
 */
@Data
public class AttractionsRequest{

    @ApiModelProperty(value = "月度/节假日")
    private String type;

    @ApiModelProperty(value = "月份（月度计算独有）")
    private Integer month;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间(节假日计算独有)")
    private LocalDate startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间(节假日计算独有)")
    private LocalDate endDate;
}
